package cn.edu.scau.cmi.zhangjiankun.adapter;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

public class SortUtil {
	public List<String> sortInt(List<String> numlist) {
		Collections.sort(numlist,new Comparator<String>(){
          public int compare(String p1, String p2) {
          if(p1.compareTo(p2)>0){
              return 1;
          }
          if(p1.equals(p2)){
              return 0;
          }
          return -1;
      }
  });
		return numlist;
	}
}
